Mysql show table status method for obtaining table information, mysqlstatus
Usage
mysql>show table status;mysql>show table status like 'esf_seller_history'\G;mysql>show table status like 'esf_%'\G;
Example:
mysql>show table status like
How to use
Mysql>show table status;
Mysql>show table status like ' Esf_seller_history ' \g;
Mysql>show table status like ' esf_% ' \g;
Sample Example:
Mysql>show table status like ' Esf_seller_history ' \g;
1.Name
Table
UsageMysql>show table status;Mysql>show table status like ' Esf_seller_history ' \g;Mysql>show table status like ' esf_% ' \g;Example:Mysql>show table status like ' Esf_seller_history ' \g;1.NameTable name2.Engine:Table's Storage
Execute the Show Table Status command on the database, as shown in the error:650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/84/24/wKiom1eG-CLz8cC4AAAJas0Wtr4849.png "title=" error. png "alt=" Wkiom1eg-clz8cc4aaajas0wtr4849.png "/>But
execution: [[email protected] lamp]# mysqldump-f-r-e--master-data=2-p-A--single-transactionappears on consolemysqldump:couldn ' t execute ' Show table status like ' V\_bid\_bad ': "SELECT command denied to user" @ '% ' for column ' I d ' in table '
Show Table status Gets the information for the tableShow table status like ' TableName ' \g1.NameTable name2.Engine:Table's Storage Engine3.Version:Version4.row_formatThe row format. For the MyISAM engine, this could be dynamic,fixed or compressed.
Syntax: Show table status [{from | in}Db_name] [Like'Pattern'| WhereExpr]
Show Table StatusWorks likesShow tables, But provides a lot of information about each non-TemporaryTable. You can also get this list usingMysqlshow --
1. mysqldump
First, let's take a look.MysqldumpThe actual working method of several main parameters.Main mysqldump options
1.-Q
It's very simple. I just added
SQL _no_cacheTo ensure that the data in the cache is not read.
081022 17:39:33 7
Today, MySQL backup crontab automatically run when the alarm appears, the contents of the alarm are as followsMysqldump:error 2013:lost connection to MySQL server during query when dumping table ' File_storage ' at Row:29mysqldump: Couldn ' t
Author/Translator: ye Jinrong (Email: imysql@imysql.cn), source: http://imysql.cn, reproduced please indicate/translator and source, and cannot be used for commercial purposes, offenders must investigate.0. Preface
This article mainly
View and modify the storage engine summary in MySQL, and view the storage engine in mysql
This article summarizes some methods for viewing and modifying the storage engine in MySQL. The test and verification environment is MySQL 5.6. If there is any
A common query in SQL queries should be a count operation. There is not much to say about queries with a where clause. If there is an index, an index will be used, and no index will be available.Simple count queries without where clauses are
Methods for Mysql to obtain the maximum id value, the total number of table records, and other related issues are summarized. The maximum value of mysql
1. obtain the maximum id of the current field from mysql.
SQL statement:
select max(id) from
First, MySQL get the current field maximum ID
SQL statement:
Select Max (id) from yourtable;
Second, obtain the MySQL table self-increase (auto_increment) value
Auto_incrementis a property in a table that can be obtained by taking the
This paper mainly discussesmysqldumpThe main ways of working, and compare andMk-parralel-dumpSome of the differences that provide more help for the choice of backup methods. First of all, look at the mysqldump of the main parameters of the actual
This article mainly introduces a simple and practical php database class for mysql operations. it not only contains common php operations for mysql databases, but also contains the filtering function for dangerous characters, it is very practical.
My MYSQL learning experience (11) my MYSQL learning experience (11)
My experiences with MYSQL (1)
My experiences with MYSQL (2)
My experiences with MYSQL (III)
My experiences with MYSQL (4)
My experiences with MYSQL (5)
My experiences with MYSQL (6)
My MYSQL learning experience (11) my MYSQL learning experience (11)
My experiences with MYSQL (1)
My experiences with MYSQL (2)
My experiences with MYSQL (III)
My experiences with MYSQL (4)
My experiences with MYSQL (5)
My experiences with MYSQL (6)
How to display the summary of tables in the MySQL database? Run mysqlshowtablestatusfrom database name G on the mysql command line. Example: mysqlshowtablestatusfrommysqlG result example: 498) this. onmousewheeljavascript: returnbig (this
How to
PHP MySQL How to get table comments
$sql = "Show create table about";
$query =mysql_query ($sql);
How do I write the following to get the table comments?
Thank you.
------Solution--------------------
Field?
The proud frog has the answer
SELECT
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.